pub mod flat_sideways;
pub mod highlow_klines;
pub mod stats;
pub mod valley_klines;

use fudata::round2;

/// 将斜率转换为角度（度数）
pub fn angle_degrees(slope: f64) -> f64 {
    let radians = slope.atan();
    round2(radians.to_degrees())
}
